package icu.cqcai.xinsi.domain.dto;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 用户注册请求DTO
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRegisterRequest {
    
    /** 用户名 */
    private String username;
    
    /** 密码 */
    private String password;
    
    /** 确认密码 */
    private String confirmPassword;
    
    /** 邮箱 */
    private String email;
    
    /** 手机号 */
    private String phone;
    
    @Override
    public String toString() {
        return "UserRegisterRequest{" +
               "username='" + username + '\'' +
               ", password='***'" + // 密码不在日志中显示
               ", confirmPassword='***'" + // 确认密码不在日志中显示
               ", email='" + email + '\'' +
               ", phone='" + phone + '\'' +
               '}';
    }
} 